package com.maple.admin.misc.menu.util;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

/**
 * UUID helper class
 * @author luoby
 * @since 1.7
 */
public class UUIDHelper {
	/**
	 * generate a number of random UUIDs on demand
	 * @param counts
	 * @return
	 */
	public static List<UUID> getNumbersOfId(Integer counts){
		List<UUID> randomIdList = new ArrayList<UUID>();
		for(int i=0; i<counts; i++){
			UUID tmpId = UUID.randomUUID();
			randomIdList.add(tmpId);
		}
		return randomIdList;
		
	}
	
}
